// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

@use './vars' as advars;
@use '../../m24/vars/lib' as *;

.mza-c-brands {
    background-color: advars.$color-ads-off-black;
    color: white;
    text-align: center;
    padding: $spacer-2xl 0;

    .mza-c-brands-container {
        margin: 0 auto;
        padding: 0 var(--container-padding);
        max-width: 1440px;
        z-index: 1;
        position: relative;
    }

    .mza-c-brands-logos {
        margin-top: $spacer-md;
        margin-inline: calc(var(--container-padding) * -1);
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: $spacer-md;

        img {
            max-height: 40px;
            max-width: 120px;
        }
    }
}
